package com.jblog.core.service.facde.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jblog.core.model.site.Site;
import com.jblog.core.service.facde.SiteFacade;
import com.jblog.core.service.site.SiteService;

@Service
public class SiteFacadeImpl implements SiteFacade {

    /**** Site Service ****/
    @Autowired private SiteService siteService;
    
    @Override
    public Site findSite() {
        return siteService.find();
    }

    @Override
    public void saveOrUpdateSite(Site e) {
        siteService.saveOrUpdate(e);
    }
}
